package com.qzdsoft.erpcloud.mapper.sys;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.qzdsoft.erpcloud.domain.sys.SysUser;
import com.qzdsoft.erpcloud.util.MyMapper;

public interface SysUserMapper extends MyMapper<SysUser>{

    SysUser selectForLogin(@Param("name") String name, @Param("password") String password);


    Integer selectDataCount(@Param("account") String account, @Param("name") String name, @Param("agent") Integer agent, @Param("status") Integer status, @Param("companyId") Integer companyId, @Param("roleId") Integer roleId);

    List<Map<String, Object>> selectData(@Param("account") String account, @Param("name") String name, @Param("agent") Integer agent, @Param("status") Integer status, @Param("companyId") Integer companyId, @Param("roleId") Integer roleId, @Param("startSize") Integer start, @Param("pageSize") Integer pageSize);
    
    }